package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffObjectTypeDto
 * @使用场景
 */
@Data
public class BffObjectTypeDto implements Serializable {

  /**
   * 对象类型标识
   */
  @ApiModelProperty("对象类型标识")
  private String objectTypeCode;

  /**
   * 对象类型名称
   */
  @ApiModelProperty("对象类型名称")
  private String objectTypeName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffObjectTypeDto that = (BffObjectTypeDto) o;
      return  objectTypeCode == that.objectTypeCode&&objectTypeName == that.objectTypeName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), objectTypeCode,objectTypeName);
    }

}
